home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Other / upsd / ups_folder / ups.pinouts < prev    next >
Encoding:
Internet Message Format  |  1991-05-17  |  4.1 KB

  1. From simpact!nosc!trout.nosc.mil!humu!pilikia!art@decwrl.dec.com Fri May 17 04:23:20 1991
  2. Return-Path: <simpact!nosc!trout.nosc.mil!humu!pilikia!art@decwrl.dec.com>
  3. Received: from uucp-gw-1.pa.dec.com by  vaxkiller.agi.org  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  4.     id AA06613; Fri, 17 May 91 04:23:17 PDT
  5. Received: by uucp-gw-1.pa.dec.com; id AA01030; Fri, 17 May 91 04:25:13 -0700
  6. Received: from nosc by dcs.simpact.com (DECUS UUCP ///1.3-1/2.5/);
  7.           Fri, 17 May 91 02:25:02 PDT
  8. Received: by trout.nosc.mil (5.59/1.27)
  9.           id AA04496; Fri, 17 May 91 02:25:11 PDT
  10. Received: from pilikia.UUCP by humu.nosc.mil (5.61/1.35)
  11.           id AA04264; Thu, 16 May 91 20:13:52 -1000
  12. Received: by pilikia.pegasus.com (/\==/\ Smail3.1.20.1 #20.1)
  13.           id <m0jdwiO-0000t8C@pilikia.pegasus.com>; Thu, 16 May 91 18:46 HST
  14. Message-Id: <m0jdwiO-0000t8C@pilikia.pegasus.com>
  15. Date: Thu, 16 May 91 18:46 HST
  16. From: humu!pilikia.pegasus.com!art@trout.nosc.mil (Art Neilson)
  17. In-Reply-To: Richard E. Showalter's message as of Thu May 16, 1991
  18. X-Mailer: Mail User's Shell (7.2.2 4/12/91)
  19. To: rich@vaxkiller.agi.org (Richard E. Showalter)
  20. Subject: Re: upsd and American Power Conversions 1200VX UPS
  21. Status: RO
  22.  
  23. On Thu May 16, 1991, Richard E. Showalter writes:
  24. > Hi Art,
  25. >     I downloaded the upsd package from the net and I would like  
  26. > to install it on a NeXT workstation using a APC 1200 UPS.  I bought  
  27. > the UPS second hand without manuals.  I noticed from your README file  
  28. > that your UPS is an American Power Conversions unit and I was  
  29. > wondering if you could send me the pin outs on the DB9 that comes of  
  30. > the back of the UPS.  This is assuming that the two models use the  
  31. > same DB connector.  If so I will assume that the pinouts are the same  
  32. > as well.  
  33.  
  34. I do have the manual which came with my APC unit, and I can give you the
  35. information on what each pin is used for.  I have a DB9 to DB25 converter
  36. on the end of the DB-9 cable coming out of the APC UPS, I don't have pinouts
  37. for that cable.  I got my cable from APC.  I can speak with a friend of mine
  38. who is using my upsd package on his UNIX system, he made his own cable for it.
  39. Here's the specs from my APC manual:
  40.  
  41. Pin 1:    User sends a HI RS232 level for 4-5 seconds.  This will signal
  42.     the UPS to turn off it's output until proper line voltage returns
  43.     (Only if UPS is on battery backup).
  44.  
  45. Pin 2:    UPS sends a high RS232 level within 1 second of a line fail and 
  46.     transfer to on battery backup.  This pin is normally a RS232 low.
  47.  
  48. Pin 3:    UPS simulates a relay closing between pin 3 and pin 4 in conjunction
  49.     with pin 2.
  50.  
  51. Pin 4:    Switch common for pins 3, 5 and 6.
  52.  
  53. Pin 5:    UPS simulates a relay closing when the battery inside the UPS has
  54.     less than 2 minutes (configurable to 5 minutes see "Using your UPS"
  55.     configuration switches).
  56.  
  57. Pin 6:    UPS simulates a relay opening between pin 6 and pin 4 in conjunction
  58.     with pin 2.
  59.  
  60. Pin 7:    User may send a HI RS232 level for 1 second to externally turn on
  61.     the UPS.  User may ground this pin for 1 second to externally turn
  62.     off the UPS instantly.
  63.  
  64. Pin 8:    Unregulated +24VDC protected internally by a 10k Ohm impedance.
  65.     Voltage is present whenever the rear panel switch is ON.
  66.  
  67. Pin 9:    Chassis ground.
  68.     
  69. I'm currently making some mods to my upsd program to detect and shutdown
  70. the system if the APC UPS signals a low battery condition.  I will be
  71. testing the changes in the next few days, I'll submit the patches to
  72. comp.sources.misc in a week or so.  I also am researching on how to 
  73. tell the UPS to turn off.  According to the docs, you just bring pin 1
  74. high I'm not quite sure how I can do this with software tho.  Maybe if I
  75. can tie it to another output, that'd require cable changes tho.  If I
  76. can make a separate utility called suicide or something, I can call it
  77. from the init.d run level 0 script which is invoked when the system 
  78. shutdown script completes.  This would keep the battery from running on
  79. and on after the system has been shut down.  Anyway, I'll get the cable 
  80. specs from my friend and will email it to you.  Hope the info I've provided
  81. is helpful.
  82. how to do it and sh
  83.  
  84. -- 
  85. Arthur W. Neilson III        | INET: art@pilikia.pegasus.com
  86. Bank of Hawaii Tech Support    | UUCP: uunet!ucsd!nosc!pilikia!art
  87.  
  88.